package com.itheima.ClassTest;

import java.util.Scanner;

public class replace {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入:");
        String s = sc.nextLine();
        String ss=s.replace("TMD","***");
        String sss=ss.replace("SB","***");
        System.out.println(sss);
    }
}
